<?php
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/customfields.func.php");
require_once(DEDEADMIN."/inc/inc_archives_functions.php");

$id = intval($_REQUEST['id']);
$array = GetArctypeImageSize($id);
exit(json_encode(array('width'=>$array['width'], 'height'=>$array['height'])));
?>